﻿using System;
using System.Collections.Generic;
using JinianNet.JNCms.Models;

namespace JinianNet.JNCms.Data
{
    public interface IRegion
    {

        /// <summary>
        /// 
        /// </summary>
        List<Region> GetList(string parent);
        /// <summary>
        /// 
        /// </summary>
        Region GetItem(string item);


    }
    public partial class DataAccess
    {
        public static IRegion CreateRegion()
        {
            return (IRegion)CreateObject(".Region");
        }
    }
}
